function addNews() {
    let data = {};
    data.newsType = $("#newsType").val();
    data.newsTitle = $("#newsTitle").val();
    data.publisher = $("#publisher").val();
    data.newsContent = $("#newsContent").val();
    data.releaseTime = $("#releaseTime").val();
    data.token=$.cookie("token");
    let result = myAjax('/back/news/newsAdd', 'post', data);
    if (result.count === 1) {
        alert("添加成功!!");
        $("#right").load('/back/news/newsManage.html');
    } else {
        alert("添加失败！")
    }
}

function cancelAdd() {
    $("#right").load('/back/news/newsManage.html');
}